import request from '@/utils/request'

export function addConfigLog(data) {
  return request({
    url: '/sys-service/inner-api/sys/config-log',
    data: data,
    method: 'post'
  })
}

export function delConfigLog(id) {
  return request({
    url: '/sys-service/inner-api/sys/config-log/' + id,
    method: 'delete'
  })
}

export function updateConfigLog(data) {
  return request({
    url: '/sys-service/inner-api/sys/config-log',
    data: data,
    method: 'put'
  })
}

export function getConfigLog(id) {
  return request({
    url: '/sys-service/inner-api/sys/config-log/' + id,
    method: 'get'
  })
}

export function pageConfigLog(data) {
  return request({
    url: '/sys-service/inner-api/sys/config-log/page',
    method: 'post',
    data: data
  })
}
